#ifndef __SESSION_H__
#define __SESSION_H__
#define PATHNAME "/mnt/hgfs/1存放git的资料/1基于LINUX的文件传输/ftp/ftpserver/uploadDir"

#define FTP_CLOSE_CMD 0
#define FTP_LS_CMD 1
#define FTP_UPLOAD_CMD 2
#define FTP_DOWNLOAD_CMD 3
//......


#define OK 0
#define ERROR 1

//处理客户端发来的命令请求
int disClientCmd(int connfd);

void disLsCmd(int connfd);

void disDownLoadCmd(int connfd,const char *filename);
void disUpLoadCmd(int connfd,const char *filename);

int disCloseCmd(int connfd);
#endif
